<%@ page import="java.util.ArrayList" %>
<%@ page import="cn.itcast.bean.Student" %><%--
  Created by IntelliJ IDEA.
  User: 任意的爹
  Date: 2021/5/23
  Time: 20:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查看学生</title>
</head>
<body>
<table width="600px" border="1px">
    <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>成绩</th>
    </tr>
    <c:forEach items="${students}" var="s">
    <tr>
        <td align="center">${s.username}</td>
        <td align="center">${s.age}</td>
        <td align="center">${s.score}</td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
